package com.yangke.springcloud.service;

import com.yangke.springcloud.entites.Payment;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

public interface PaymentService {
    // 新增Payment类对象
    public int create(Payment payment);

    // 根据id查询Payment对象
    public Payment getPaymentByid(@Param("id") Long id);
}
